package com.kingsoft.dc.khaos.module.spark.metadata.preprocess.transform

/**
  * create by yansu on 2019/07/22 18:04
  */

case class UnionInfo(union_tables: List[TablesInfo] = null,
                     union_type:String = "unionall",
                     advanced_options: AdvancedInfos)

case class TablesInfo(fieldInfo: List[FieldsInfo] = null)

case class FieldsInfo(field: String = "",
                      data_type: String = "")

case class AdvancedInfos(cache_option: cacheInfo,
                         partition: partitionInfo)

case class cacheInfo(on_off: Boolean = false,
                     option: String = "")

case class partitionInfo(on_off: Boolean = false,
                         nums: String = "")
